commit the rewrited code