Rewrite process method