Added API function