I understand how it works but I don't know why. Using 3d as an example, if the amount of energy required to fill it is greater than the amount of energy needed to fill the 4s orbit, isn't the 3d orbit called 4d instead of 3d? Why is it that the 3d orbit has a principle quantum number of 3 and not 4?