working on a basic mlp