set timer before testing for the night