collect information about groups