more dev on mlp code