Added TrainerAPI