Create exercise 5.8.c