passing a `map` to `properties()` would eliminate more LOC here too