rewrite queen