first primitive version of the text miner