added solution for 1.8 question from Laakmann