minor changes to api_calls