the model basically works now