edited duplicate handling, form table presentation for duplicates etc