added pattern search examples