- remove unnecessary code