added parameters to API call