various changes in the API calls