For elements in the first three periods of the periodic table (hydrogen - argon), the orbitals can simply be filled up by increasing energy energy level. A difficulty arises when we come to potassium.