Added pattern tagger