working on combining training procedure