add new fucntion to API