delete superfluous code