Use pattern history search