This shows a M1 decoder with leads trimmed and tinned ready for installation in the Bachmann 0-6-0 Saddle Tank steam engine. Lead lengths were cut to the following lengths. Blue 15/16", Gray 15/16", Red, 9/16", Orange 1/2", Black 1/2", Yellow 7/16", White 7/8".  Decoder leads are connected to the loco circuit board as follows: Red = 8, Orange = 1, Yellow = 2, Black = 4, Grey = 5, White = 6, Blue = 7. You can also use the instructions sheet supplied with the loco as reference in determining which color wire goes where on the light board.