Altered the structure for obtaining text for data views.