hmwk 7 finished pt 3