Removing dead code

removing dead code