revised and updated chapter 3