Added then parse to parse p then q and return result of p.