added formatting to the view tables