hw3-part3 init