Mistakenly put the first loop as switching on the red light when it is actually the green light. LOL!