added some stuff to get rid of a/and/the as last word
tweaked getting rid of a, an, the as last word