* extract the solution string assembling into an own method