added group fetching