solve the recursion problem