Match two variables