adds intents chapter 6