reusing a single-letter variable? I'm confused with what is going on here.