read in model done