err- no throw error anymore, it now just ignores if found duplicate, unless multiple flag is set to true then it executes every call