Thanks for the explanation. I remember some things from high school about the energy levels etc.
I’m not completely sure what’s going on as I would assume your output should now contain 4 elements.
I would like to debug it a bit later this evening as I currently don’t have access to my machine.