hw4 part1 step6