added some new functions to print out new data