added calcheSolve