sup rewrite