Comments for notebook versions

since we're using these `let`s in more than one place now, would it make sense to extract them into a shared helper file somewhere?