stub support for patterns