forgot to add changes to main window.cs