Change the model with two parameters