new main window
main window and struict
will this work