add integral model, with bin handling