Model and controller