Reuse already declared variable when possible