clean up data
pretty printing