altered class due to trainer check