1840 establishments in Scotland