add Bernoulli polynomial