implemented closet timer