Trying gh api's tree recursion