adding title controls
chapter 5