Updated exercise 1.4