What about just using `result` here instead of the second API request?