removed the unused code