in the middle of recursion