use a bag of words