add match method