Submission for CS165 MP

minor revisions