Corrected somme errors