finished coding up MOPS. now need to test