would `each_value` work here instead?