Ref for chapter 9 | ScratchStats