example1 for discovery and message