add window class