ensure that psi remain correct, automatically resolve conflict with variables declared after the try-with-resources stmt