done some of the HW 1 part 1