GALearner debug (almost) done