adding the inversed trainer