what are advantages of mining