final edit to hw6