Changes match method