Chapter 2 problems