incorporating logic engine text into chapter 2.