Add API and return result object