selective code removal