added figure 1, first console.log data for speed