added a helper class for IMR connection