...
Not sure why referencing a variable more than once is thought to be bad practice, though I never claim to be an expert programmer. I often use one temporary variable to store intermediate values, it saves on memory but admittedly makes diagnostics harder. Perhaps now we have a lot of memory to play with it makes more sense to use separate locations.