HW1 part3 done