rewrite the project