add method sum