added a window class