ch6 parsing