template & deploy