added template property to component