Prior to the advent of mass-produced electric power, mills were often