add method
fix Array#sum