 Under this overarching organization were 12 "sa" or agencies, dealing with relations with China ("Sadae"), diplomatic matters involving other foreign nations ("Kyorin"), military affairs ("Kunmu"), border administration ("Pyŏnjŏng"), foreign trade ("T'ongsang"), military ordnance ("Kunmul"), machinery production ("Kigye"), shipbuilding ("Sŏnham"), coastal surveillance ("Kiyŏn"), personnel recruitment ("Chŏnsŏn"), special procurement ("Iyong"), and foreign-language schooling ("Ŏhak").In May 1881, until their return home in September of that year, a technical mission was sent to Japan to survey its modernized facilities.They traveled all over Japan inspecting administrative, military, educational, and industrial facilities.