compare to last all items to avoid duplicate