added ioc fun

added ioc fun