miningRig and refinery