ordered, Vega Project V-140, as YB-40 along with four crew trainers designated TB-40. Because Vega had higher priority production projects, the YB-40/TB-40 assembly job was transferred to Douglas. A variety of different armament configurations was tried. Some YB-40s were fitted with four-gun nose and tail turrets. Some carried cannon of up to 40 mm in caliber, and a few carried up to as many as 30 guns of various calibers in multiple hand-held positions in the waist as well as in additional power turrets above and below the fuselage. Externally, the XB-40 had the symmetrical waist windows of the standard B-17F and the second dorsal turret integrated into a dorsal fairing. In contrast, most of the YB-40s had the positions of the waist windows staggered for better freedom of movement for the waist gunners, and the aft dorsal turret was moved slightly backwards so that it stood clear of the dorsal fairing. Operational history The YB-40's mission was to provide a heavily armed escort capable of accompanying bombers all the way to the target and back. Of the initial order of 13, one (serial 43-5732) was lost on the delivery flight from Iceland to the UK in May 1943; it force-landed in a peat bog on a Scottish island after running out of fuel. Although removed to Stornoway and repaired, it never flew in combat. The remaining 12 were allocated to the 92d Bombardment Group (Heavy), being assigned to the 327th Bombardment Squadron, stationed at RAF Alconbury (AAF-102) on 8 May 1943. YB-40s flew in the following operational missions: 29 May 1943 – attacked submarine pens and locks at Saint-Nazaire. Smaller strikes were made at Rennes naval depot and U-boat yards at La Pallice. In the attack, seven YB-40s were dispatched to Saint-Nazaire; they were unable to keep up with B-17s on their return from the target and modification of the waist and tail gun feeds and ammunition supplies was found to be needed. The YB-40s were sent to Technical Service Command at the Abbots Ripton 2nd Strategic Air Depot for modifications. 15 June 1943 – four YB-40s were dispatched from Alconbury in a raid on Le Mans after completion of additional modifications. 22 June 1943 – attack on the I.G. Farben synthetic rubber plant at Hüls. The plant, representing a large percentage of the Germany's synthetic rubber producing capacity, was severely damaged. In the raid, 11 YB-40s were dispatched;