Figure 2 Class diagram for the Market example