with netlist datastructure