added template view