updated manual with more background and the sum by group function