add flashlight controller