split up linear and nonlinear b-and-b