created a service that performs API calls