prepare the wires