It would make it easier to read this if the `let` blocks at the bottom were higher in the file, or closer to where they are used. `</nitpick>`