finished solution updated