add block patturns.