add sum 

add sum for method