should be working - but is not accepted - guess I have to test a imperative solution to find why