models check for duplicate items