updated exercise 11