suggestion: include an underscore variable at the end here for argument list sanity/clarity (marking the yielded `perm_mappings` as unused)