Optimisation of the model