took out filtering for word, it's not quite good enough yet