match and vector