add option to detect live nodes, if wanted