store both flux and cumulative flux