added light sensor