hw1 part 4 partially completed