Deleting unused code