adding variant_counter