add Window class