Finish part3 of hw