End of chapter 2 work