add pretty print option