Completed in-text examples from Chapter 13.