completed proj3.1 to the best of my ability