add method ChangeGroup and ChangeOffsets