core functions of ioc/di