Creating solution structure