Template model