initial implementation of miner queue