object-oriented ego solver, plots error