prepare wires