added card validations