HW5 part7 done