chapter 2 task 2 compiled