updated figure 6 to do