added staticPages
chapter 3