removes unused code
removes unused method