finished chapter 3 - basic views