def add_match(match,name=nil)
    return unless match
    return match if match==self

    add_match_name(super(match),name)

    update_match_length
    match
  end
def add_match(match,name=nil)
    return unless match
    return match if match==self

    add_match_name(super(match),name)

    update_match_length
    match
  end
adds a match with name (optional)