how does a thresher work