Comparison of two variables using match