Part2 of the HW4