cleans out not needed code