Finalized MR functions
Merge branch 'master' of https://github.com/liuandy/CS123-Project