henriks solution to exercise 1