add typedef for searching block.