figuring out window