mining https://syachiku.net/progmaming01/mining-2/