Removing unnececary code

Removing unnececary code