Completed HW3-Part2