IoC working