Solid Solver in subroutine