Adds total field