updated discriminator to support type variance
updated discriminator to support type variance
comments