beginning feature matching