check for time