add 'all' option, key expiration