rescue -> resuceB
modified function reset_time