add Match directive