matching word is a hard problem and I should look at this in the future again.