chapter 4 right before adding Resources