part 0 and 1, HW4