rewrite starts