Committing exercise 2.18.