updates for Jstokes analysis