added mask pattern classes