check for expiration