Implemented method to parse all clauses