You chose CS but really wanted Software Engineering. Discrete Mathematics was all you needed for that.