commented out the rewriter