delete a few lines of unnecessary code