added group API functions