`when` unnecessary with `dolist`, and then `let` seemed unecessary as well