change set to vector in get-words function