handle multi moment, multi arm case for studydata WIP