rewrite sugar