added pattern matching finder to tree walker