 Upon the completion of his examinations, Hayek was hired by Ludwig von Mises on the recommendation of Wieser as a specialist for the Austrian government working on the legal and economic details of the Treaty of Saint Germain.Between 1923 and 1924, Hayek worked as a research assistant to Professor Jeremiah Jenks of New York University, compiling macroeconomic data on the American economy and the operations of the Federal Reserve.Initially sympathetic to Wieser's democratic socialism, Hayek's economic thinking shifted away from socialism and toward the classical liberalism of Carl Menger after reading von Mises' book "Socialism".