A Result of Vapnik with Applications