million cans of meat and a negligible amount of canned fish. Textile output rose over the period. The only material produced, however, was a coarse fabric sold to rural people (and worn by the president) at less than cost. In milk, pasta, packaging materials, cigarettes, and matches, the trend was downward in the second half of the 1970s. From scientific socialism to "IMF-ism" 1981-1990 Its socialist program in disarray and its alliance with the Soviet Union lost in the wake of the 1977-78 Ogaden War, Somalia once again turned to the West. Like most countries devastated by debt in the late 1970s, Somalia could rely only on the nostrums of the IMF and its program of structural adjustment. In February 1980, a standby macroeconomic policy agreement with the IMF was signed, but not implemented. The standby agreements of July 1981 and July 1982 were completed in July 1982 and January 1984, respectively. To meet IMF standards, the government terminated its policy of acting as the last-resort employer of all secondary school graduates and abolished its monopoly on grain marketing. The government then prepared a medium-term recovery program consisting of a public investment program for 1984-86 and a phased program of policy reforms. Because the International Development Association (IDA) considered this program too ambitious, the government scaled down its projects, most notably the construction of the Baardheere Dam, which AID had advised against. The government abandoned its first reform program in 1984. In March 1984, the government signed a letter of intent accepting the terms of a new US$183 million IMF extended credit facility to run for three years. In a Somali Council of Ministers meeting in April, however, this agreement was canceled by one vote, as the soldier-ministers chafed at the proposed 60 percent cut in the military budget. The agreement also called for a further devaluation of the shilling and reductions in government personnel. A new crisis hit Somalia in June 1983. The Saudi Arabian government decided to stop importing Somali cattle, and this ban soon was expanded to include sheep and goats. Saudi officials claimed that rinderpest had been detected in Somali livestock, making them unsafe. Cynics pointed out that Saudi businessmen recently had invested in Australian ranches and were seeking to carve out an export market for their product. In any event, the ban created a large budget deficit, and arrears on debt service started to accumulate.