how how to manage a mining quarry