run function

Run the model