Added timer for training