connection mode helpers