change binomial to an object