multi instances template