wiring procedure