Add total method