deleted redundent variables