Chapter 170: primitive accumulation