prepare a model template