by switching light sources