added template model