improved var manager