working on model template