added solution for 2.3 question from Laakmann