finish sum