bugfix-recursion now working