deleted all unused code