moved the model creation to the start