start rewritting