implemented start time checking