main window added
main window added