For HW3-part3