Implemented basic form of trainer