Right. My father (who traveled in this route) has also informed me that this Rack-n-Pinion arrangement is only present between Coonoor and Mettupalayam, where the gradient is very steep, and train is hauled by Steem Loco. In the relatively flat regime between Ooty and Coonoor, the train gets Diesel Loco.