delete unnecessary code lines