changes to window