calculate sum of two values through network