Creating the solution structure