Connecting the devices