adding total amount