added stokes solve