Added method add_matches_from_ts