api improved