Fixing figure 5