Building up the model
mapping to model