testing rewrite