cleaned up accumulation simulation