This comment and the next would be immediately clearer if they were above the control flow statements (`for`, `if`) they related to, rather than indented and under