Lionel Monon diesel power engine 8155 USED

I've had this engine for years. I tested it and it runs, but I remember having trouble with it. There is a gear inside that moves on a shaft. I don't know how to fit it. It needs to be cleaned. No box. Buyer pays shipping. Thanks for looking.