started to work on main window