Rebuilt locomotives