added inventory handling ability for the miner