rewrited document