working on pretty printing