delete unrelevant code