worked on displaying data