Summary   calculations