passing window creation data