vars rewrite