variables speeds and lights turn off and on