Working cacheSolve