HW4-part6-incomplete