it turns out that _name_to_int is an interface after all