To control timing of electrical current to the motor coils, rotating brush holders can be installed on each end of the motor; their brushes contacting the roller-commutator discs, which are mounted on the shaft of motor.
Here is an overall view of the motor showing how it looks without the brush-holders installed:
Motor with the rotating brush-holders installed; one brush contacts the inner roller disc, another contacts the outer roller disc: