add check of number of item