removed the dead code