Evaluating and storing the model