finished the main, added listing of all groups