move sample group inside sub-entity