Removed unused code

Removed unused code