Updated window logic