CoTraining: More code (compiles but still not tested or finished)