made trainers dynamic