Added class Validation