add time th to model file, also change the model a
little