running total appears to be working now