added solution for 1.3 question from Laakmann