wiring the conroller.