Now the solve function returns the information