Added functions to Miner.js