Main and MainWindow edited by YC