created abstraction for mined patterns