delete the unused code