Adding chapter 6 database