Still not working on duplicates