Solve Algorithm integrated, works..