compiled file chapter 2 task 1