Outline of model and controller