created the window