Code for LightCycle