restructured init_starting_wires (tested)