Locos with an axle driven chuff cam are connected differently as shown below. Nine volt P3 batteries are popular in these locos but two of them, wired in parallel, will be needed if you wish to set the soundcard to hign volumes. The connection to the track is optional and reduces the power drawn from the batteries.