adding light sensor