chap.2 example