improved Text analysis