Removed Redundant code