Removes double code