added a ... to cahceSolve function