add matched counter and is_gone flag
add matched counter and is_gone flag