encodings, urls, and some formatting
Updated the example.