Completed challenge for chapter 5.