view/template example fixed