changes for template views(not done)