add accumulation option