started working on main thread