check for expiry