15.11. Code for chapter 10, shapes reference