more exercises from chapter 1