add getter/setters for groups