almost finished section 2 of chap 2, just need to add figures from console.log data