sets and functions and chapter 7