remove  unused code