sending discovery is coded but not tested.