changed query to match words (as opposed to letters)