-- Added matching points function
 -- Trying to get the match to be proper for the respective component