changing the API