hw04 part 1 almost done