working on the views to display data properly