Removing Double Redundant Code