Revert "Revert "template""

This reverts commit bdbf0eddd19e27caf420f75a8b6cea866c27378f.