Depending on the design of the train, it can either produce AC or DC current using a generator powered by the diesel engine. Because of various electrical connections, multiple locomotives can be operated by a single lead until operated by a single crew.