chapter 1 graphic code