Completed Homework 9