Add more info for total function.