Fixed exercise 3