ticket:3 additional fields are added to the model, middleware writes to them