init the model