sample window creation