Added functions for api calls