added simple api-based fetching