Part of the model definition

One of the most difficult part in the work.