removing not needed code.