used view as defined in template