changing from sleep to timer