Getting the sum value