revised Functions chapter, part I