Completed Homework 7