complete explore_current_words function