Chapter 3.8 is hard to follow along

Hello and thank you for this amazing book. I noticed a small issue and I think it needs to be addressed:

in the first red arrow, I was assuming there should be a block of code here?

Also reading further I see the same phrasing with no clear indication where to put the code block:


I think this section need to be rearranged.