Added retrieve groups capability