add pretty print