changed collections to groups