Text this: Reengineering the training function :