new tamplate and view example