Having `OPTION_VALUES` taken as an argument is an improvement here, but the fact that `get_token` is simply turning around and accessing a global variable means that most of the benefit there is lost.