moophis: clean up code for proj1