modified sleep time to avoid blinking