All these lets can be added to the top of the shared example, which makes it more understandable and self-contained.