a window is for opening and closing