Implemented train timer.