Added total method