inflow/outflow perfected, working on accumulation now