processing more pattern types