WIP: returns a result (and crashes)

works on first call and gets stuck after that right
away. Needs much more cleaning up etc ;-)