add frequent pattern search