Completed Homework 4