added bound method to the ioc container.