added method to matcher