try rewrite clauses