parser for hw6