trying to make the total show in the table