rewrite a