add output for hw3 part2