added total in bottom