making figure 5