Code commented in main window