added case support inside ioc blocks