rewrite explanation