use window var