Added total equation