delete duplicate and add drag and drop