maybe implement retries for api calls if they fail
maybe implement retries for api calls if they fail