The mines engine