rm unused code