added time_check! to correct times over the range
added time_check! to correct times over the range