begin chapter 8, generate store controller