draft commit about checking duplicates