done calculating group stat