doing the activity from chapter 1