rewrite sc ewe raz4