not a huge huge deal since this is pretty small but it would be nice to maybe do `buf += extend(path, ...)` or similar to keep this block and the block below more declarative