defining groups on media fields