Stephen - added MainWindow