erased unnecessary code