item appear logic