Fixed functions in training-day