Definition of models