Chapter 2: berkeley simulation