updates for JStokes analysis