how ore shaking machine works