Removed the Redundant Code Sections