added solution for 1.5 question from Laakmann