better blacklist code