checking for time