added first version of AllDownstreamSubids(), bug corrections