name these parameters
pull this out
str can work harder than this
indentation
don't overcomplicate things
indentation
woops
indentation
a map is more idiomatic here I think
and use the briefer map notation
improve this comment