before accumulate