changes to API