adding mlp