adding text switch to show data