pull request: im965 (assignment 4)