had the time-check logic wrong