Adding ... to solve function. Final code.