committing Ch14 exercise 2