small changes to window