Added LightPulse code