Adapt the code following the model