[PF] working on chapter 3