preventing duplication