SOLVED THE F****** INFINITE LOOP FOR LIGHT INTERRUPTS