adding locomotive generator