rewrite section how to use