In this paper a new methodology using the conditional specification technique intoduced by Arnold et al. (1999) is used to obtain bonus-malus premiums. A Poisson distribution for which the parameter is a function of the classical structure parameter is used and a new class of prior distribution arises in a natural way. This model contains, as a particular case, the classical compound Poisson model and is found to be much more robust than earlier ones. An example is given to illustrate our ideas.