design of main window