1840 establishments in Massachusetts