modifications to window