New template initialization