How much did things cost in 1840