model runs and updated code