added feature matching