rewrite option