new way of checking duplicates