hw3 part1 (background steps)
hw3 part2+3