add sub matcher class