exercise script added from chapter 5.4