updated: generation of Figure 10.4