done for HW4 of part1