Add chapter 7 duck/turkey adapter code