get_trainers function other trainers logic adjusted