added getGroupData method