drop unnecessary code