updated API calls