tweaks to api call