trying to work on mlp training, but is very very bad