The war at sea saw the demise of the battleship as it became increasingly vulnerable to air and undersea attack. The aircraft carrier became the major naval weapon. Carriers like the Essex and Midway class carried over 100 strike aircraft, were 820 feet long with beams of 147 feet, and could move at 32 knots. Carrier-based aircraft were remarkable machines. These aircraft carried 2,000 pounds of bombs, flew at 350 miles per hour, attacked with rockets, torpedoes, and machine guns, and ranged over 300 miles. Although submarines operated with new electrical motors to make them increasingly difficult to detect, antisubmarine technology improved markedly. Radar and radio sets allowed antisubmarine aircraft to detect submarines at night. New depth charges provided surface vessels with new means of submarine destruction. By 1944, the submarine was no longer a significant threat to surface combatants