chapter 5
filling in the layout