The Kyrgyz economy was severely affected by the collapse of the Soviet Union and the resulting loss of its vast market. In 1990, some 98% of Kyrgyz exports went to other parts of the Soviet Union. Thus, the nation's economic performance in the early 1990s was worse than any other former Soviet republic except war-torn Armenia, Azerbaijan and Tajikistan, as factories and state farms collapsed with the disappearance of their traditional markets in the former Soviet Union. While economic performance has improved considerably in the last few years, and particularly since 1998, difficulties remain in securing adequate fiscal revenues and providing an adequate social safety net. Remittances of around 800,000 Kyrgyz migrants working in Russia contribute to the economy however in recent years, remittances have decreased.