I added a new function to view groups

This is a big comment box for some serious reviewing.