easier window index change