main window work