global state, balance computation.