Modified model, improve the constraints, talking about gain, problem comes as how to calculate the capacity?