added more view template stuff