added a new api call