getting there with this rewriter