added query_word.py