add a total column