Updated exercise 3c