rewriting the content