added some api calls for search