shortened code for lights finally