handling unique groups
changes