added solution for 2.1 question from Laakmann