Add the API Method