made changes to API