part1 of HW3