more work on the model