design doc and fixed wiring in decode