Added initial version of chapter 3