rewrite, dammit!