Add if statement for excedding the exercise time.