hw3 part3 updated