On a flexible construction of a negative binomial model