template initialization is working