small changes to binomial thing