updated sampling and group post-calc