added new function to api