rewrite project