light sensor added