Added route match method