added 3rd arg to pdf miner