new method for getting code duplicates that are not used yet