I used the new window utils because the old ones are depreciated.