confusing method removed from MainWindow