new kata solved, this one was tricksy