API method added