added wordnet functionality