pub type PatternType = u16;