added expiration date validation