Removes Redundant Code