some more incremental changes to mlp.py