This shows M1 decoder installed in front of motor. Notice the yellow capacitors that were across the motor brushes are removed. The decoder is held in place with a dab of glue between the decoder and the loco circuit board. M1 decoder.