updated exercise 26