displaying all the necessary data