Integrating with real api call