added jgm/stmd. used for tests