more hacking on mlp, training