a few changes to the model and styles