external node working + determine next node using active nodes