txr chapter 4