link two gadgets.