complete exercise 8.1
play with references