p. 158 accumulate