Clear  unnecessary code