removed memoization for from_api call