setting up the model basics