Which contributed most to imperialistic actions taken by the United States in the late 19th and early 20th century?

growth of industry
construction of railroads
treaties with other countries
development of national pride