var window improved