the model is now working