more rewriting.