adding variant stub, and deleting unused testing variables