rewrite positioning