HW4 part9 done!