create chapter8 exercise 1