Since Latvia had maintained a well-developed infrastructure and educated specialists, Moscow decided to base some of the Soviet Union's most advanced manufacturing in Latvia. New industry was created in Latvia, including a major machinery factory RAF in Jelgava, electrotechnical factories in Riga, chemical factories in Daugavpils, Valmiera and Olaine—and some food and oil processing plants. Latvia manufactured trains, ships, minibuses, mopeds, telephones, radios and hi-fi systems, electrical and diesel engines, textiles, furniture, clothing, bags and luggage, shoes, musical instruments, home appliances, watches, tools and equipment, aviation and agricultural equipment and long list of other goods. Latvia had its own film industry and musical records factory (LPs). However, there were not enough people to operate the newly built factories. To maintain and expand industrial production, skilled workers were migrating from all over the Soviet Union, decreasing the proportion of ethnic Latvians in the republic. The population of Latvia reached its peak in 1990 at just under 2.7 million people.