Added ability to group people with same key value