added entity recognition