chapter 5: better visualization