add API function control