master with node discovery