idea for add_missing_wires method