Meanwhile, reform continued apace transforming an absolute monarchy based on relationships of power into a modern, centralised nation state. The process was increasingly under the control of Rama V's sons, who were all educated in Europe. Railways and telegraph lines united the previously remote and semi-autonomous provinces. The currency was tied to the gold standard and a modern system of taxation replaced the arbitrary exactions and labour service of the past. The biggest problem was the shortage of trained civil servants, and many foreigners had to be employed until new schools could be built and Siamese graduates produced. By 1910, when the King died, Siam had become at least a semi-modern country, and continued to escape colonial rule.