Chaging to templateviews