make pretty printing optional
pretty print