adding block_code validations for credit card