Added total calc