repository has been added to MainWindow