restructuring
repaired copypastafuckup
+ collect_potential_targnodes()