added template doc