For HW6-Part3