implemented new reconnection interface