slightly nicer get_words