erasing unused code