done with products counting