added method to raise main window