Rewrite of the model