added discriminator docs